#ifndef _Server_HPP
#define _Server_HPP

#include "Session.hpp"

class Server
{
	private:
		boost::asio::ip::tcp::acceptor acceptor;
		boost::asio::ip::tcp::socket socket;

		void Accept();
		void AcceptHandler(const boost::system::error_code &error);
	public:
		Server(boost::asio::io_service &io_service, boost::asio::ip::tcp::endpoint endpoint);
};

#endif